package com.siwei.mes.enums;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

/**
 * 生成类型枚举
 *
 * @Description: 生成类型枚举    1.自动生成 2.新建委托 3.定时任务
 * @Version: 1.0
 * @author: yangke
 * @date: 2024/8/03 23:48
 */
@Getter
public enum CreateTypeEnum {
    DEFAULT_CHECK(1, "自动生成"),
    NEW_CHECK(2, "新建委托"),
    JOB_CHECK(3, "定时任务"),
    EXCEL_CHECK(4, "excel导入"),
    ;
    @ApiModelProperty(name = "对应code")
    private final Integer code;

    @ApiModelProperty(value = "描述")
    private final String name;

    CreateTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
